home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 326-350 / disk_334 / fbm / fbm-0.9.zoo / doc-0.94 / fbclean.man < prev    next >
Text File  |  1990-03-03  |  2KB  |  133 lines

  1.  
  2.  
  3.  
  4. FBCLEAN(1)               USER COMMANDS                 FBCLEAN(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      fbclean - flip isolated pixels in a 1bit image
  10.  
  11. SYNOPSIS
  12.      fbclean [ -b<cleaner> -t<threshhold> -n<nbr> ] [ -<type> ] < bitmap > bitmap
  13.  
  14. DESCRIPTION
  15.      Flips isolated pixels (this can be used to clean  up  "snow"
  16.      in  some  halftoned  images.   Can  also convert a grayscale
  17.      image to bitmap by theshholding before the cleaning is done.
  18.  
  19. OPTIONS
  20.      -b   _c_l_e_a_n_e_r  option,  specifies  the  minimum   number   of
  21.           "nearby" like pixels to remain the same color.
  22.  
  23.      -n   _n_e_i_g_h_b_o_r_s,  the  size  of  the  neighborhood.   To   be
  24.           "nearby"  means  to  be located in an NxN square around
  25.           the target pixel.
  26.  
  27.      -t   _t_h_r_e_s_h_h_o_l_d command, used to halftone the  image  before
  28.           cleaning.  The default is no theshholding.
  29.  
  30.      -B   _f_a_c_e format, as used by Bennet Yee's  _f_a_c_e  program  at
  31.           CMU.
  32.  
  33.      -F   _F_B_M,  format  (by  default,  the  default).   You   are
  34.           guaranteed not to lose information by specifying FBM as
  35.           the default.
  36.  
  37.      -G   _G_I_F, Compuserve GIF format.
  38.  
  39.      -I   _I_F_F format, interleaved bitmaps (ILBM), used by Amigas.
  40.  
  41.      -P   _P_B_M, Jef Poskanzer's bitmap format.
  42.  
  43.      -S   _s_u_n, Sun rasterfiles (not run length encoded).
  44.  
  45. EXAMPLE
  46.      To take a bitmap and clean up pixels with fewer than 2  like
  47.      neighbors  in  the  surrounding  5x5 square, outputing s Sun
  48.      rasterfile:
  49.  
  50.         % fbclean -S -b2 -n5 < foo.1bit > bar.1bit
  51.  
  52.      To do the same thing  to  a  grayscale  file  (threshholding
  53.      first with 128):
  54.  
  55.          % fbclean -S -b2 -n5 -t128 < foo.1bit > bar.1bit
  56.  
  57. SEE ALSO
  58.      fbm(1) for general discussion, pbm(1) for PBM routines.
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.0      Last change: 07-Mar-89                     1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. FBCLEAN(1)               USER COMMANDS                 FBCLEAN(1)
  71.  
  72.  
  73.  
  74. BUGS
  75.      None known.
  76.  
  77. HISTORY
  78.      Copyright (c) 1989 by  Michael  L.  Mauldin.  Permission  is
  79.      granted  to  use  this  program in whole or in part provided
  80.      that you do not sell it for profit and that  this  copyright
  81.      notice is retained unchanged.
  82.  
  83.      07-Mar-89  Michael L. Mauldin at Carnegie Mellon University
  84.           Beta release (version 0.9) mlm@cs.cmu.edu
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sun Release 4.0      Last change: 07-Mar-89                     2
  130.  
  131.  
  132.  
  133.